/*
 * @Author: 李无敌
 * @Date: 2025-07-25 17:03:34
 * @LastEditors: 李无敌
 * @LastEditTime: 2025-07-30 08:42:55
 * @FilePath: \nest-base\src\common\controllers\base.controller.ts
 */
import {
  Controller,
  Get,
  Post,
  Body,
  Query,
  Request,
  Param,
} from '@nestjs/common';
import { ApiTags, ApiOperation, ApiResponse } from '@nestjs/swagger';
import { BaseService } from '../services/base.service';
import { BaseEntity } from '../entity/base.entity';
import { PaginationDto, PaginationResponseDto } from '../dto/pagination.dto';
import { ApiResponseDto, PaginatedResponseDto } from '../dto/response.dto';

@ApiTags('基础CRUD')
export abstract class BaseController<T extends BaseEntity> {
  constructor(protected readonly baseService: BaseService<T>) {}
} 